<?php
function normal_1 ($i)
{
	if ($i==0){
	echo "i is egual to 0";
}else if($i==1){
	echo "i is egual to 1";
}else if ($i==2){
	echo "i is equal to2";
}
}

normal_1(2);

function switch_1($r)
{
switch ($r)
{
	case 0:
		echo "i is equal to 0";
		break;
	case 1:
		echo "i is egual to 1";
		break;
	case  2:
	    echo "i is equal to 2";
	    break;
	default:
		echo "new value";
	    		
} 
}
switch_1(5);


?>